public class Person <T extends ContactData> implements ContactItem{
	private String title;
	private String name;
	private String firstName;
	private T data;
	
	Person(String n, String f){
		this(n,f,"");
	}
	Person(String n, String f, String t){
		this(n , f , t , null);
	}
		
	Person(String n, String f, String t, T d){
		title = t;
		name = n;
		firstName = f;
		data = d;
	}
	
	public String getName(){ return name; }
	public String getFirstName(){ return firstName; }
	public String getTitle(){ return title; }
	
	public String toString(){
		return (title.equals("")? "": title + " ") + firstName+" " + name;
	}
	public T getData() {
		return data;
	}


}
